package com.qm.console.dao.model;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ChatRecordDO {
    private Integer id;

    private Integer state;

    private Boolean valid;

    private Long chatId;

    private Integer freeMatch;

    private Integer chatType;

    private String fromChannel;

    private Integer fromWaitTime;

    private Integer toWaitTime;

    private Integer goddessCertification;

    private Integer liveCertification;

    private Integer sysCoins;

    private Integer fromUser;

    private Integer fromGender;

    private Integer toUser;

    private Integer toGender;

    private String toChannel;

    private Date startTime;

    private Date acceptTime;

    private Date endTime;

    private Integer endType;

    private Integer endUser;

    private Integer endGender;

    private String endChannel;

    private Integer voiceCardCount;

    private Integer videoCardCount;

    private Integer tryCardCount;

    private Integer diamondConsume;

    private Integer pointGain;

    private Float maxRate;

    private Date createTime;

    private Integer giftCount;

    private Date updateTime;

    private Integer giftPackSack;

    private Integer giftPay;

    private String giftDetail;

    private String channelId;

    private Integer context;

    private Float fromRate;

    private Float toRate;

    private String fromUrl;

    private String toUrl;

    public Integer getContext() {
        return context;
    }

    public void setContext(Integer context) {
        this.context = context;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getValid() {
        return valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }

    public Long getChatId() {
        return chatId;
    }

    public void setChatId(Long chatId) {
        this.chatId = chatId;
    }

    public Integer getChatType() {
        return chatType;
    }

    public void setChatType(Integer chatType) {
        this.chatType = chatType;
    }

    public String getFromChannel() {
        return fromChannel;
    }

    public void setFromChannel(String fromChannel) {
        this.fromChannel = fromChannel == null ? null : fromChannel.trim();
    }

    public Integer getFromUser() {
        return fromUser;
    }

    public void setFromUser(Integer fromUser) {
        this.fromUser = fromUser;
    }

    public Integer getFromGender() {
        return fromGender;
    }

    public void setFromGender(Integer fromGender) {
        this.fromGender = fromGender;
    }

    public Integer getToUser() {
        return toUser;
    }

    public void setToUser(Integer toUser) {
        this.toUser = toUser;
    }

    public Integer getToGender() {
        return toGender;
    }

    public void setToGender(Integer toGender) {
        this.toGender = toGender;
    }

    public String getToChannel() {
        return toChannel;
    }

    public void setToChannel(String toChannel) {
        this.toChannel = toChannel == null ? null : toChannel.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(Date acceptTime) {
        this.acceptTime = acceptTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getEndType() {
        return endType;
    }

    public void setEndType(Integer endType) {
        this.endType = endType;
    }

    public Integer getEndUser() {
        return endUser;
    }

    public void setEndUser(Integer endUser) {
        this.endUser = endUser;
    }

    public Integer getEndGender() {
        return endGender;
    }

    public void setEndGender(Integer endGender) {
        this.endGender = endGender;
    }

    public String getEndChannel() {
        return endChannel;
    }

    public void setEndChannel(String endChannel) {
        this.endChannel = endChannel == null ? null : endChannel.trim();
    }

    public Integer getVoiceCardCount() {
        return voiceCardCount;
    }

    public void setVoiceCardCount(Integer voiceCardCount) {
        this.voiceCardCount = voiceCardCount;
    }

    public Integer getVideoCardCount() {
        return videoCardCount;
    }

    public void setVideoCardCount(Integer videoCardCount) {
        this.videoCardCount = videoCardCount;
    }

    public Integer getTryCardCount() {
        return tryCardCount;
    }

    public void setTryCardCount(Integer tryCardCount) {
        this.tryCardCount = tryCardCount;
    }

    public Integer getDiamondConsume() {
        return diamondConsume;
    }

    public void setDiamondConsume(Integer diamondConsume) {
        this.diamondConsume = diamondConsume;
    }

    public Integer getPointGain() {
        return pointGain;
    }

    public void setPointGain(Integer pointGain) {
        this.pointGain = pointGain;
    }

    public Float getMaxRate() {
        return maxRate;
    }

    public void setMaxRate(Float maxRate) {
        this.maxRate = maxRate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", state=").append(state);
        sb.append(", valid=").append(valid);
        sb.append(", chatId=").append(chatId);
        sb.append(", chatType=").append(chatType);
        sb.append(", fromChannel=").append(fromChannel);
        sb.append(", fromUser=").append(fromUser);
        sb.append(", fromGender=").append(fromGender);
        sb.append(", toUser=").append(toUser);
        sb.append(", toGender=").append(toGender);
        sb.append(", toChannel=").append(toChannel);
        sb.append(", startTime=").append(startTime);
        sb.append(", acceptTime=").append(acceptTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", endType=").append(endType);
        sb.append(", endUser=").append(endUser);
        sb.append(", endGender=").append(endGender);
        sb.append(", endChannel=").append(endChannel);
        sb.append(", voiceCardCount=").append(voiceCardCount);
        sb.append(", videoCardCount=").append(videoCardCount);
        sb.append(", tryCardCount=").append(tryCardCount);
        sb.append(", diamondConsume=").append(diamondConsume);
        sb.append(", pointGain=").append(pointGain);
        sb.append(", maxRate=").append(maxRate);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}